package com.example.test1;

public class Car {
    String brand;
    String color;
    double price;
    Car(String brand,String color,double price){
        this.brand = brand;
        this.color = color;
        this.price = price;
    };
    void start(){};
    void run(){
        System.out.println("一辆"+color+"的"+brand+"车在跑，价格为："+price);
    };
    void stop(){};
}
